package GroupName.Project_1;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLayeredPane;

public class Ui extends JFrame {

    /**
     * Launch the application.
     */
    public static void main(String[] args) {
	EventQueue.invokeLater(new Runnable() {
	    public void run() {
		try {
		    Ui frame = new Ui();
		    frame.setVisible(true);
		} catch (Exception e) {
		    e.printStackTrace();
		}
	    }
	});
    }

    /**
     * Create the frame.
     */
    public Ui() {
	setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	setBounds(100, 100, 450, 300);
	ImageIcon bgIcon=new ImageIcon("/exe/embed.jpg");
	JLabel bgLabel=new JLabel();
	bgLabel.setBounds(0,0,bgIcon.getIconWidth(),bgIcon.getIconHeight());
	getLayeredPane().add(bgLabel,new Integer(Integer.MIN_VALUE));
	
    }
}
